package homework.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @author :黄靓仔
 * @description: TODO
 * @data :2020/8/14 13:51
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Goods {

    private String goodsName;

    private BigDecimal price;

    private Integer inventory;

    private Integer flag;

    public String toString(){
        return "goodsName:"+this.goodsName+"price:"+this.price+"inventory:"+this.inventory+"flag:"+this.flag;
    }
}
